import service from '@/utils/request'

// 管理员相关操作
export function loginService(userAccount, password){
    return service({
        url:"/sys/login",
        method: "post", 
        data:{userAccount, password}
    })
}

export function getUserInfoService(){
    return service({
        url: "/sys/info",
        method: "get"
    })
}

export function exitService(){
    return service({
        url: "/sys/exit",
        method: "delete"
    })
}